| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | /* |
||
| 42 | export default class ExtendedMarkdownInline extends Plugin { |
||
| 43 | /** |
||
| 44 | * @inheritDoc |
||
| 45 | */ |
||
| 46 | constructor( editor ) { |
||
| 47 | super( editor ); |
||
| 48 | |||
| 49 | editor.data.processor = new GFMDataProcessor( editor.data.viewDocument ); |
||
| 50 | for (const tag of ALLOWED_TAGS) { |
||
| 51 | editor.data.processor.keepHtml(tag); |
||
| 52 | } |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @inheritDoc |
||
| 57 | */ |
||
| 58 | static get pluginName() { |
||
| 59 | return 'Markdown'; |
||
| 60 | } |
||
| 61 | } |
||
| 62 |